package com.zry.controller;

import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api/user")
public class UserController {

    @ApiOperation(value="获取用户信息", notes="")
    @GetMapping
    public String getUserInfo() {
        return "Hello World!";
    }
}
